﻿using Generic.Domain.Shared.Result;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;

namespace Generic.App.HttpApi
{
    [ApiController]
    [Route("api/[controller]/[action]")]
    public partial class BaseApiController : AbpController
    {
        protected string GetOperateId()
        {
            return User.Identity?.Name ?? "";
        }

        protected CustomResult GetSuccesResult()
        {
            return new CustomResult(true);
        }
    }
}
